package com.kingkim.electromechanical.usercenter.mapper;

import com.kingkim.electromechanical.usercenter.model.po.Menu;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.dao.DataAccessException;

import java.util.List;

@Mapper
public interface MenuMapper {

    List QueryForList(Menu menu) throws DataAccessException;

    List QueryParentForList() throws DataAccessException;

    Integer DeleteForList(List<String> ids) throws DataAccessException;

    Integer Modify(Menu menu) throws DataAccessException;

    Integer Save(Menu menu) throws DataAccessException;
}
